package com.uzai.console.dto.rocketmq.groupsendjob;

import com.uzai.common.enums.MessageTypeEnum;

import java.io.Serializable;

/**
 * 群发任务消息
 * @author liuqi
 * @date 2022年01月21日 14:18
 */
public class GroupSendMsgDto implements Serializable {
    private static final long serialVersionUID = -4544489542177207189L;

    /**
     * 主任务id
     */
    private Long parentJobId;
    /**
     * 子任务id
     */
    private Long childJobId;
    /**
     * 消息
     */
    private String msg;
    /**
     * 运营商id
     */
    private Long merId;
    /**
     * 设备唯一id
     */
    private Long deviceUniqueId;
    /**
     * 设备类型
     */
    private Integer deviceType;
    /**
     * 消息类型
     * @see MessageTypeEnum
     */
    private Integer msgType;

    /**
     * 会员id
     */
    private Long userId;

    /**
     * wxid
     */
    private String bizUserId;
    /**
     * 昵称
     */
    private String nickName;
    /**
     * 延迟时间
     */
    private int delay;

    private int originalDelay;

    private int retry;

    /**
     * 标签
     */
    private String label;

    /**
     * 清空标签（0-未启用；1-启用）
     */
    private Integer cleanLab;

    /**
     * 备注
     */
    private String remark;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getParentJobId() {
        return parentJobId;
    }

    public void setParentJobId(Long parentJobId) {
        this.parentJobId = parentJobId;
    }

    public Long getChildJobId() {
        return childJobId;
    }

    public void setChildJobId(Long childJobId) {
        this.childJobId = childJobId;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getMerId() {
        return merId;
    }

    public void setMerId(Long merId) {
        this.merId = merId;
    }

    public Long getDeviceUniqueId() {
        return deviceUniqueId;
    }

    public void setDeviceUniqueId(Long deviceUniqueId) {
        this.deviceUniqueId = deviceUniqueId;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }

    public String getBizUserId() {
        return bizUserId;
    }

    public void setBizUserId(String bizUserId) {
        this.bizUserId = bizUserId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getDelay() {
        return delay;
    }

    public void setDelay(int delay) {
        this.delay = delay;
    }

    public int getRetry() {
        return retry;
    }

    public void setRetry(int retry) {
        this.retry = retry;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public int getOriginalDelay() {
        return originalDelay;
    }

    public void setOriginalDelay(int originalDelay) {
        this.originalDelay = originalDelay;
    }

    public Integer getCleanLab() {
        return cleanLab;
    }

    public void setCleanLab(Integer cleanLab) {
        this.cleanLab = cleanLab;
    }
}
